import { createRouter, createWebHashHistory } from "vue-router"
import Layout  from "@/components/Layout.vue"

const routes = [
    {
        path: '/',
        component: Layout,
        children:[
            {
                name: 'convert64',
                path: '/homework/convert64',
                component: ()=> import("@/views/homework/convert64.vue")
            },
            {
                name: 'editor',
                path: '/homework/editor',
                component: ()=> import("@/views/homework/editor.vue")
            },

            {
                name: 'findk',
                path: '/homework/findk',
                component: ()=> import("@/views/homework/findk.vue")
            },
        ],
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router